﻿<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint"
      EnableContentTypes="True"
      Title="URL Redirect" 
      FolderCreation="FALSE" 
      Direction="$Resources:Direction;" 
      Url="Lists/URL Redirect Matches" 
      BaseType="0" 
      xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    <ContentTypes>
      <ContentTypeRef ID="0x01004d360004c8074de6a25f4d8cdd3be8da">
        <Folder TargetName="URL Redirect Record"/>
      </ContentTypeRef>
    </ContentTypes>
    <Fields>
      <Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"
             Name="Title"
             Type="Text" DisplayName="URL"
             Required="True"
             StaticName="Title" 
             FromBaseType="True"
             SourceID="http://schemas.microsoft.com/sharepoint/v3"></Field>
      <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7910}"
             Name="RedirectURL"
             Type="Text" DisplayName="Redirect URL"
             Required="False"></Field>
      <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7912}"
             Name="UseRegularExpressions"
             Type="Boolean" DisplayName="Use Regular Expressions"
             Required="False"></Field>
      <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7914}"
             Name="DisplayMessage"
             Type="Note" DisplayName="Display Message"
             RichText="True" RichTextMode="FullHTML"
             Required="False"></Field>
      <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7916}"
             Name="DisplayPageTitle"
             Type="Text" DisplayName="Display Page Title"
             Required="False"></Field>
      <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7918}"
             Name="DisplayTitleArea"
             Type="Text" DisplayName="Display Title Area"
             Required="False"></Field>
      <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7920}"
             Name="Sorting"
             Type="Number" DisplayName="Sorting" Decimals="0"
             Required="True"></Field>
      <Field ID="{5AD22EB5-25F3-4999-8B18-5657142E7922}"
             Name="Disable"
             Type="Boolean" DisplayName="Disable"
             Required="False"></Field>
    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink>main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitleNoMenu"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitle" DisplayName="URL"></FieldRef>
          <FieldRef Name="RedirectURL"></FieldRef>
          <FieldRef Name="DisplayPageTitle"></FieldRef>
          <FieldRef Name="Sorting"></FieldRef>
          <FieldRef Name="Disable"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Sorting"></FieldRef>
          </OrderBy>
        </Query>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>